package com.atguigu.gmall.cart.service;

import com.atguigu.gmall.model.cart.CartInfo;

import java.util.List;

/**
 * @Author BrookPeng
 * @Date 2020/12/5 0:44
 * @Version 1.0
 */
public interface CartInfoService {
    CartInfo addCart(Long skuId, Integer skuNum, String userId);

    List<CartInfo> cartList(String userTempId, String userId);

    void checkCart(Long skuId, Integer isChecked, String userId);

    List<CartInfo> getCartCheckedList(String userId);
}
